package com.ccp.dev.workflow.dao;

import com.ccp.dev.core.basic.base.IBaseMapper;
import com.ccp.dev.workflow.bpminterface.IActDefMapper;
import com.ccp.dev.workflow.model.TaskReminder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * ClassDescribe
 *
 * @author: fanruiqi
 * Date: 2019-10-17
 * Since:1
 * To change this template use File | Settings | File Templates.
 */
public interface TaskReminderDao extends IBaseMapper<TaskReminder, String>, IActDefMapper {
    /**
     * 根据流程定义id获取定义催办信息
     * @param procDefId
     * @return
     */
    List<TaskReminder> queryByProcDefId(String procDefId);

    /**
     * 根据流程定义id和节点id获取催办设置信息。
     * @param procDefId
     * @param nodeId
     * @return
     */
    List<TaskReminder> queryByProcDefAndNodeId(@Param("procDefId") String procDefId, @Param("nodeId") String nodeId);
}
